#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int m = 0;
	while (scanf("%d", &m) != EOF)
	{
		for (int i = 0; i < m; i++)
		{
			for (int j = 0; j < i; j++)
			{
				printf(" ");
			}
			for (int n = 0; n < m - i; n++)
			{
				printf("* ");
			}
			printf("\n");
		}
	}
		return 0;
}